home *** CD-ROM | disk | FTP | other *** search
/ PCGUIA 2010 Software/Programs / PCGuia_programas.iso / Software / Utils / VLC Media Player / vlc-1.0.3-win32.exe / lua / intf / dummy.lua next >
Encoding:
Text File  |  2009-10-30  |  460 b   |  15 lines

  1. --[[ This code is public domain (since it really isn't very interesting) ]]--
  2.  
  3. msg = [[
  4. This is the `dummy' VLC Lua interface module.
  5. Please specify a VLC Lua interface to load with the --lua-intf option.
  6. VLC Lua interface modules include: `rc', `telnet' and `http'.
  7. For example: vlc -I lua --lua-intf rc
  8. You can also use the alternate syntax: vlc -I "lua{intf=rc}"]]
  9.  
  10. for line in string.gmatch(msg,"([^\n]+)\n*") do
  11.     vlc.msg.err(line)
  12. end
  13.  
  14. vlc.misc.quit()
  15.